Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRAFT DO NOT MERGE: 🎁 Flexible double combo #6843

Draft
wants to merge 141 commits into
base: main
Choose a base branch
from

Conversation

kirkkwang
Copy link
Contributor

@kirkkwang kirkkwang commented Jun 24, 2024

Purpose

This is the working branch for all things flexible metadata related.

ShanaLMoore and others added 30 commits June 4, 2024 10:59
This work solely focused on the UI elements needed to build out the ability to import a metadat profile. This heavily relies on backend functionality to complete.
In this commit, we test that a module is included when the HYRAX_FLEXIBLE env var is set.
Issue:
- scientist-softserv/amigos#20
This commit will relocate the Metadata Profiles link to Repository
Content.  We also refactor the modal to make it show up better.
ShanaLMoore and others added 15 commits July 5, 2024 13:51
Resource & form need these lines to function correctly.
the version from main breaks the application
This committ allows the presenter to be dynamic. Before, the newly added terms would not display on the work's show page because the presenter didn't know about them. Additionally, this should fix the bug where a server restart is required when a new schema is imported.
This was the reason Hyku couldn't spin up.
A default schema should be created for a tenant, automatically, when one doesn't exist.
The previously incorrect logic would prevent methods from being defined properly.
@ShanaLMoore ShanaLMoore force-pushed the flexible_double_combo branch from 7be524e to 31ab8e3 Compare July 10, 2024 19:17
ShanaLMoore and others added 14 commits July 10, 2024 14:10
Add validations for classes we know are problematic, if missing.
* add contexts to the flexible metadata model. they can be assigned on admin sets and then apply the contexts to the works made with that admin set selected

* Update app/models/hyrax/flexible_schema.rb

Co-authored-by: LaRita Robinson <[email protected]>

* Update app/services/hyrax/m3_schema_loader.rb

Co-authored-by: LaRita Robinson <[email protected]>

* remove no longer needed conditionals

* migration fixes

---------

Co-authored-by: LaRita Robinson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes-minor Release Notes: Non-breaking features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants